﻿using ProtoBuf;
using System.Collections.Generic;

namespace Web.Product.Upload.Models
{
    [ProtoContract]
    public class Category
    {
        [ProtoMember(1)]
        public int Id { get; set; }
        [ProtoMember(2)]
        public string Name { get; set; }
        [ProtoMember(3)]
        public bool Expand { get; set; }
        [ProtoMember(4)]
        public IList<int> Children { get; set; }
    }
}